package cn.myjerry.builder;

/**
 * 宇宙飞船
 * @author Jerry
 *
 */
public class AirShip {
	private OrbitalModule orbitalModule;	// 轨道舱
	private Engine engine;	// 发动机
	private EscapeTpwer escapeTpwer;	// 逃逸舱
	public OrbitalModule getOrbitalModule() {
		return orbitalModule;
	}
	public void setOrbitalModule(OrbitalModule orbitalModule) {
		this.orbitalModule = orbitalModule;
	}
	public Engine getEngine() {
		return engine;
	}
	public void setEngine(Engine engine) {
		this.engine = engine;
	}
	public EscapeTpwer getEscapeTpwer() {
		return escapeTpwer;
	}
	public void setEscapeTpwer(EscapeTpwer escapeTpwer) {
		this.escapeTpwer = escapeTpwer;
	}
	
}

class OrbitalModule {
	private String Name;
	public OrbitalModule() {
		super();
	}
	public OrbitalModule(String name) {
		super();
		Name = name;
	}
	public String getName() {
		return Name;
	}
	public void setName(String name) {
		Name = name;
	}
}

class Engine {
	private String Name;
	public Engine() {
		super();
	}
	public Engine(String name) {
		super();
		Name = name;
	}
	public String getName() {
		return Name;
	}
	public void setName(String name) {
		Name = name;
	}
}

class EscapeTpwer {
	private String Name;
	public EscapeTpwer() {
		super();
	}
	public EscapeTpwer(String name) {
		super();
		Name = name;
	}
	public String getName() {
		return Name;
	}
	public void setName(String name) {
		Name = name;
	}
}